package huixue.cn.com.rxapp.base;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import butterknife.ButterKnife;

/**
 * Created by gongdongyang on 2018/7/17. P extends BasePresenter<V>, V extends JJTUI
 */

public abstract class BaseActivity <P extends BasePresent<V>,V extends IBaseUI> extends BaseMVPActivity<P, V>
        implements IBaseUI  {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initView();
        addEvent();
    }

    @Override
    public void onSuccess() {

    }

    @Override
    public void onFail() {

    }
}
